package com.lzy.admin.service;

import com.lzy.pojo.AdminUser;
import com.lzy.pojo.bo.NewAdminBO;
import com.lzy.utils.PagedGridResult;

public interface AdminUserService {

    /**
     *  获得管理员的用户信息
     */
    public AdminUser queryAdminByUsername(String username);


    /**
     *  添加管理员
     */
    public void createAdminUser(NewAdminBO newAdminBO);


    /**
     *  分页查询列表
     */
    public PagedGridResult queryAdminList(Integer page, Integer pageSize);
}
